package com.book.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.book.model.entity.Banner;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 轮播图 服务类
 * </p>
 *
 * @author auto
 * @since 2025-04-03 10:33:27
 */
public interface BannerService extends IService<Banner> {

    List<Banner> getBannerList();

    boolean saveBanner(String banner);

    Page<Banner> getBannerImagByPage(Integer page, Integer size);

    boolean enableBanner(String id);

    boolean disableBanner(String id);
}
